package net.sky.oa.test.action.ioffice;

import javax.annotation.Resource;

import org.junit.Before;
import org.junit.Test;
import org.springframework.test.annotation.Rollback;

import net.sky.oa.action.ioffice.OffTaskAction;
import net.sky.oa.test.BaseActionTestCase;

public class OffPlanActionTestCase extends BaseActionTestCase {
	
	@Resource
	private OffTaskAction offPlanAction;
	
	@Before
	public void setUp(){
		super.setUp();
	}
	
	@Test
	@Rollback(false)
	public void add(){
		request.addParameter("content", "This is My second plan!");
		offPlanAction.save();
	}
	
	@Test
	public void list(){
		offPlanAction.list();
	}

}
